package com.xinshujia.entity;

import com.baomidou.mybatisplus.annotation.TableName;

/**
 * *************************************
 * *   @author: 野狼上校               **
 * *   @since: 2024-08-06 14:55       **
 * *   @version: 1.0                  **
 * *************************************
 * <p>
 *     设备实体类
 */
@TableName("auth_device")
public class DeviceEntity extends BaseEntity{
    // 设备id
    private String deviceGuid;
    // 设备在线状态
    private Integer deviceOnline;
    // 公司名称
    private String companyName;
    // 生产产线
    private String productLine;
    // 机床名称
    private String machineName;
    // 机床运行状态（根据振动值进行更新）
    private Integer machineStatus;
    // 碰撞报警状态（以防误报可以关闭，以后可能不用，直接设置为报警开启状态）
    private Integer alarmStatus;

    public String getDeviceGuid() {
        return deviceGuid;
    }

    public void setDeviceGuid(String deviceGuid) {
        this.deviceGuid = deviceGuid;
    }

    public Integer getDeviceOnline() {
        return deviceOnline;
    }

    public void setDeviceOnline(Integer deviceOnline) {
        this.deviceOnline = deviceOnline;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getProductLine() {
        return productLine;
    }

    public void setProductLine(String productLine) {
        this.productLine = productLine;
    }

    public String getMachineName() {
        return machineName;
    }

    public void setMachineName(String machineName) {
        this.machineName = machineName;
    }

    public Integer getMachineStatus() {
        return machineStatus;
    }

    public void setMachineStatus(Integer machineStatus) {
        this.machineStatus = machineStatus;
    }

    public Integer getAlarmStatus() {
        return alarmStatus;
    }

    public void setAlarmStatus(Integer alarmStatus) {
        this.alarmStatus = alarmStatus;
    }
}
